package com.smt.exchange;

/**
 * @author SmallPlume
 * @title: Dog
 * @projectName springbootdemo
 * @description: TODO
 * @date 2019/9/8 1:00
 */
public class Dog extends Animal {

//    private int age = 1;
//
//    public int getAge() {
//        return age;
//    }
//
//    public void setAge(int age) {
//        this.age = age;
//    }

    /*@Override
    public void run() {
        System.out.println("小狗跑");
    }*/

    public void eat() {
        System.out.println("小狗吃东西");
    }
}
